<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
</head>
<body>
<div id="app">
    <h1>水平分割线</h1>
    <span>青春是一个短暂的美梦, 当你醒来时, 它早已消失无踪</span>
    <el-divider></el-divider>
    <span>少量的邪恶足以抵消全部高贵的品质, 害得人声名狼藉</span>

    <h1>分割线带文本内容</h1>
    <el-divider content-position="left">少年包青天</el-divider>
    <el-divider>66666</el-divider>
    <el-divider content-position="right">阿里云</el-divider>

    <h1>垂直分割线</h1>
    <span>雨纷纷</span>
    <!--direction方向  vertical纵向，默认是横向-->
    <el-divider direction="vertical"></el-divider>
    <span>旧故里</span>
    <el-divider direction="vertical"></el-divider>
    <span>草木深</span>

</div>
</body>
<!-- import Vue before Element -->
<!--引入Vue框架-->
<script src="https://unpkg.com/vue@2.6.14/dist/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script>
    let v=new Vue({
        el: '#app',
        data: function() {
            return {  }
        }
    })
</script>
</html>